<?php
class User extends AppModel {
	var $name = 'User';
	var $belongsTo = 'Position';
	
	var $validate = array(
		'firstName' => array(
			'rule' => array('minLength', 2),
			'required' => true
		),
		'lastName' => array(
			'rule' => array('minLength', 2),
			'required' => true
		),
		'email' => array(
			'rule' => 'email',
			'required' => true
		)
	);
}
?>